Skip to content

Implement dirty ANGLE depth clear workaround#13

Open
whitebelyash wants to merge 1 commit intoMojoLauncher:masterfrom
whitebelyash:feat/depth-clear
Open

Implement dirty ANGLE depth clear workaround#13
whitebelyash wants to merge 1 commit intoMojoLauncher:masterfrom
whitebelyash:feat/depth-clear

Conversation

@whitebelyash
Copy link
Contributor

Fixes hand rendering through the blocks in vanilla Minecraft when ANGLE is used. For now requires explicitly specifying a variable: LTW_EMULATE_DEPTHCLEAR=1.

Might... actually WILL drop the performance due to nature of this "bugfix": it essentially does full blown drawing onto the depth buffer instead of simply clearing it via some hardware block. Driver optimizations are also completely skipped (not like they're needed because the whole ANGLE depth issue is apparently caused by them).

TODO: look into clearing the buffer with glClearBuffer instead of this whole thing.

Details изображение

Fixes hand rendering through the blocks in vanilla Minecraft when ANGLE is used. For now requires explicitly specifying a variable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant